<?php
/**
 * Represents a <table> control
 */
fily_XMLConverter::registerNamespace('table', fily_Table);
class fily_Table extends fily_ControlContainer {

    /**
     *
     */
    public function __construct() {
        parent::__construct('table');
    }

    /**
     * adds a row to the table
     * @return fily_Row
     */
    public function addRow() {
        $row = new fily_Row();
        $this->controls->add($row);
        return $row;
    }

}
?>
